package day03.ti.ti03;

public class Anmal {
    private String name;
    private String age;
    private String xb;

    public Anmal() {
    }

    public Anmal(String name, String age, String xb) {
        this.name = name;
        this.age = age;
        this.xb = xb;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getXb() {
        return xb;
    }

    public void setXb(String xb) {
        this.xb = xb;
    }
    public void eat(){
        System.out.println("吃饭");
    }
}
